<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
 <meta http-equiv="content-type" content="text/html;charset=8859-1" />
<h:outputScript ></h:outputScript>
<title>Kizura</title>
</h:head>

<h:body>
<h:messages id="msg" />
	<f:view contentType="text/html">
		<h:form id="formPrincipal" prependId="false" >

			<h:outputLabel id="lblName" value="Nome" />
			<h:inputText id="iptNome" value="#{pessoaMB.pessoa.nome}" />
			
			<p>
			<h:outputLabel id="lblUsuario" value="Usuario" />
			<h:inputText id="iptUsuario" value="#{pessoaMB.pessoa.usuario}" />
			</p>

			<p>
			<h:outputLabel id="lblSenha" value="Senha" />
			<h:inputText id="iptSenha" value="#{pessoaMB.pessoa.senha}" />
			</p>
			
			<p>
			<h:outputLabel id="lblIdade" value="Idade" />
			<h:inputText id="iptIdade" value="#{ppessoaMB.pessoa.idade}" />
			</p>
			<h:commandButton value="Enviar" action="#{ppessoaMB.save}" />
		</h:form>
	</f:view>
</h:body>

</html>